package com.hzj.controller;

import com.hzj.mapper.SmbmsBillMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;
import java.util.Map;

@Controller
public class Test {
    @Autowired
    SmbmsBillMapper sbm;
    @RequestMapping("/tset")
    @ResponseBody
    public List<Map<String, Object>> test(){
//        System.out.println("aaab");
        List<Map<String, Object>> maps = sbm.checkBillAndProvider(2, 0, "可");
        System.out.println(maps);
        return maps;
    }
}
